package com.superman.serialize;


import com.superman.MessageType;

import net.mof.manual.IDeserializer;
import net.mof.manual.Manual;

public class MessageTypeDeserializer implements IDeserializer<MessageType> {

	@Override
	public MessageType deserializer(String in) {
		return Manual.isEmpty(in) ? null : MessageType.strToEnum(in);
	}
}
